<?php


namespace app\controllers;


use app\service\SysMenuService;

class MenuListController extends BaseJsonController
{
    public function doService($req, $userInfo)
    {
        $service = new SysMenuService();
        return $service->menuList();
    }

    protected function permissionName()
    {
        return "sys/menu";
    }

}